#ifndef REMOVEBOOKMARKSCOMMAND_H
#define REMOVEBOOKMARKSCOMMAND_H

#include <QUndoCommand>

class BookmarksManager;
class BookmarkNode;

class RemoveBookmarksCommand : public QUndoCommand
{
public:
    RemoveBookmarksCommand(BookmarksManager *bookmarkManager, BookmarkNode *parent, int row);
    ~RemoveBookmarksCommand();
    void undo();
    void redo();

protected:
    int m_row;
    BookmarksManager *m_bookmarkManager;
    BookmarkNode *m_node;
    BookmarkNode *m_parent;
    bool m_done;
};

#endif // REMOVEBOOKMARKSCOMMAND_H
